package mask;

import java.util.Scanner;

public class Title5 {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		System.out.println("输入价格");
		int purchase = scan.nextInt();
		if(purchase<50) {
			System.out.println("付款" + purchase);
		}
		else if(purchase>50 && purchase<100) {
			System.out.println("付款" + purchase*0.9);
		}else {
			System.out.println("付款" + purchase*0.8);
		}
		}
}
